<template>
  <div>
    <h2>主页</h2>
    <h3>参数: {{ name }} - {{ age }}</h3>
  </div>
</template>

<script>
export default {
  name: "home",
  props: {
    name: {
      type: String,
      default: "",
    },
    age: {
      type: Number,
      default: 0,
    },
  },
};
</script>

<style scoped></style>
